Update Classifier(edited with functions)