Added update for time