There are no v6.1and v4.2.3 for ERS4800. These version codes seem to be for VSP4000.
ERS4800 is under end of sales and the latest version, v5.12.x is recommended to use. For stack, you need to same sofware and firmware for units to form stack. So entire stack should be upgraded.