update thrift