updated mealy table