Update manageController.php