public function deleteIfReplace($name, $data)
    {
        if ($name && isset($data['name']) && $name !== $data['name']) {
            $this->ldapUserRepo->updateUsersByServerName($name, $data['name']);
            $this->deleteServer($name);
        }
    }