Update API in endpoints.json