update endpoint.json to work with hub connector