updates coursename matching.