added error handling to ldap store update object method