save data changed