update the usage of json