Update lexer in class