updates lexer to match section chains