Migrating on-prem Excel to Sharepoint and update Formula links

We have 1000s of files to migrate from on-prem to Sharepoint and many are Excel with formula links.

Is there an easy way to update the formula links after uploading?
powershell?

Has anyone used some of the products out there and know if they are any good?

Just looking for some advice from someone who has already done this to point me in the right direction.

Thanks,
Roger