Update the time