updates lexer with read first syntax