Same as last update but it actoully syncs the files of the xml document.