update the Quality rating if contrainte