after changing the endpoint