update mcmc.cpp