update time stuff