updated run_mcmc