Changing default endpoint