XML create and edit are merged