update the getCourseContent
refactor code