if (contact != null && contact.getOwner().getId() == user.getId()) {
contact.setValue(contactContainer.getValue());
contact.setType(actualType);
} else {
contact = new UserContact(contactContainer.getValue(), actualType);
user.addContact(contact);
}
}
return user;
}