Added ability to update xml string.