only consider the last 24 hours when updating buckets