fix updating courses, fix for courses with space in name