update Naive Bayes & SVM prediction