In your case there is no automatic. If you realy would like to change the numbers in this way than make a backup of your boot.cfg. You have to change all port number by yourself from 2/1 to 1/1 etc. (f.e. with notepad++) within this file. Than delete all the boot.cfg (working and certified) and boot.slot.cfg (flash) within all switches and copy the new edited boot.cfg file to working and certified in old stack 2. Now power down all the switches and power up in order old #2 up to old #5 (with delay more than 15 sec - better wait half a minute between power up).
I hope it will work.
regards
Silvio