upgrade thrift