update for lexer