updateQueueStatus

Updates the status of the queue.