remove course location from loc_mapper on delete
create function 'delete_course_mapping' to delete course location from loc_mapper and cache