factored out blocked.mcmc.update
adding the refactored code
fixed a spelling error