Updated Bayes training