chage json by api