Same comment as `function updateHour`