Updated markov plugin to use new table and data