For links you have to fix those manually and the database has to be rejiggered (that's a short term for reworking, recreating as need be.)

I've yet to find a simple solution to those issues. It's why many just stick with old but working versions.
Bob