update Huffman