quantizer update