Fixed multistep updates updating the version number in the wrong order

Fixes #1778