edit listCourse Method