update time interval variables