update the json format to v3