Update varint encoding.