Naive Bayes updated