Update ScheduledExamsController.php