update adaptive metropolis
it should be compatible with RJMCMC.