modify bayes