change default endpoint