saving branch configuration in xml