Update AcademicController.php