updating the API Endpoint