added method update_course