explain the updateLexer script a little better