added save data in yaml