update for time