Update LZW implementation.