update markov chain