update json and api examples