Update SubjectsController.php