Update ExamsController.php