Update of xml structure