modify thrift