change json data in save Func