Update Huffman Coding