time spent update