add the setting into the xml file