Added code to update the current temperature once a second