fix issue with updating course