update to latest thrift definition