Updating default endpoint.