Update quota mapper to use time intervals.