Update QueuePlugin.php