Is there a way to batch rename a specific component in all glyphs that contain it?

For some reason the component references in my italic file has gone back to using their old names from before I modified them. Is there an easier way to fix this than to go trough each glyph manually and correcting the references?

Can you explain what exactly is going on?

There is a mekkablue script that does that. Look in the Components submenu.