Updated Markov chain by adding the probabilities based on occurrences