added edit-course functionality