updated averageQueueTime