various fixes

fixes to bayesian updates lab