Update the queue