update ldap script