updated the clock