update huffman