Update BayesianNetwork