Update BayesNetwork