update time interval