updates to average time