update time range