Fixed issue where profile attributes where deleted when not all attributes where updated