Update xml config file