MDL-41778 enrol/ldap add update_course function & call it during sync