updated the mealy shell