{
//notify the server
if (parentRegister != null && XCDERegisterProvider.getProvider().getCurrentRegister() == parentRegister)
{
XCDERootDirectoryUserState toUpdate = new XCDERootDirectoryUserState(newUser.getUsername(),newUser.getPath(),newUser.getCursor(),newUser.getBuild(),newUser.getTest());
parentRegister.getRoot().makeChange(new XCDERootDirectoryUserStimulusChange(oldUser.getUsername(),toUpdate));
}
//notify listeners of the change
for (Iterator i = changeListeners.iterator(); i.hasNext(); )
((IUserDataListListener)i.next()).updateUser(oldUser, newUser);
}