Update CourseExistsSample.php