updated the time