update online sum_time