change thrift endpoint