update xml config file