update calculation for demand mode get time