Update time_array