Update ToolController.php