Update calculation for classifier (partial)