modify db and course.php