update endpoint.json