changed study_mode to attendance_mode, and programme_type to course_options