updates to naivebayes base