Update QueueManager.php