regenerate the user xml file