updated elmo state transition