Updating lex class.