update the classifier