Update set from XML and dumping XML