update words definition in lexer (fixes #3749)