Swapping out icon libraries

Hi everyone,
As part of our design system we previously had one set of icons created. Recently we’ve created a new set and I’d like to remove the current icons and replace them with the new ones.
What is the most efficient way to do this without having to manually go into every component and re-linking the instances to the new library?
Currently I have both sets of icons created as components in the file.
Thank you