Change the endpoint