Have you looked into Project Dependencies Mass Update Tool?
This is a tool that comes as part of the UiPath Studio package.
Here you can select several projects for updating, pick and chose the dependencies to update, and even publish the projects afterwards.
https://docs.uipath.com/studio/standalone/latest/user-guide/project-dependencies-mass-update
Regards
Soren