test get and update json to server