change thrift2 interface