Rename macro and everywhere it is called

Hi, I have a number of macros calling another macro "X". I want to rename macro "X" to "Y" and then replace all instances of that called macro with the new name.

E.g. macro A is calling macro "X" and I want to change it to call macro "Y" (the new name for macro "X").

Can someone advise how to do this?

they will be updated automatically.