update course_ware logic