This confuses me.  I use the host pe_ver to hold the name of the version currently installed, the upgrade version is passed in the do_install options and is then used for upgrading to.  Are you just doing this to update the values in hosts to reflect the newly upgraded version?