update IntPairWritable