use the right way to update the clock