Update courses.php