update by_time