Added edit_xml promise to manage admin console