Change value of xml_node when changing value of node