Python: Replace/update existing vanilla menu item?

Hey team,

I’m trying to replace an existing menu item that has had it’s shortcut key replaced by something else.

Image > Cycle Forward )

The “)” hotkey has been replaced, how to update the menu item?

I’ve tried defineModeMenu with my new item and Replace=True, but it just appends to the menu so I get two entries for “Cycle Forward”.

cheers,
Jordan