add save load xml in mem