updated quantizer