Changes to factory and endpoint.json