update varint