Update NaiveBayesClassifier