Update setCourse.php