changed the default endpoint