Added update method for TimeStep.