Widgets depend on the Windows Web Experience Pack and Microsoft Edge, so when the temperature gets stuck it is worth making sure both are up to date.
Open the Microsoft Store, go to Downloads (or Library), and select Check for updates to update the Windows Web Experience Pack if an update is available. Then open Edge, go to Settings > About Microsoft Edge to let it update, and restart your laptop.
If it is still stuck after that, go to Settings > Personalization > Taskbar, turn Widgets off and back on, and check if the temperature refreshes.