Replace all components in a library at one time.
In the schematic, right click the component in the canvas and select Swap library or in the Place Component panel right click the component and select Swap library in design.
In the Swap library dialog, select the new library as the Target library. If a library with matching components is identified by the command the target library field the matching library is preselected.
Confirm all the components exist in the target library. A list displays for any components that are missing. You must reconcile these to use the library.
When the target library contains the same components, click Swap. All components in the design are swapped for the target library components.
You need to export the library. See Importing libraries and library elements, scroll to Exporting a library.