updated bayesian notebook