Update discriminative model