Update AppControllers.php