Update QueueManager.java