To contextualize:
I had a kerning group named ‘g’ and I want to call it ‘u’ now so it matches other file with which I will interpolate, so the kern classes need the same name.
This should work. There’s a dialogue that pops up that asks whether you want to rename the occurrence or the class. Did that not happen when you renamed a class in the kerning panel?
Ah. As you can see by the yellow colour of the list item (and the fact that it’s not prefixed by an @), that’s not a kerning class, but a glyph name. You can’t change that.
Yes. This makes sense. In your initial screenshot, you are showing glyph kerning, not class kerning. So you are looking at kerning exceptions. Something must have got missed while kerning.