updateCourseElementResource function

Update the referenced learning resource of a course element in the LMS