I would advise checking the release notes and compatiblity matrices for the devices you are upgrading to see if the upgrade path is supported, whether the older hardware is even compatible with the new software, etc. There usually is a statement in the release notes describing which hardware is compatible and the valid upgrades path.