Update add course functionality