updates of naivebayes