use automatic update to version detection

zmupdate.pl can read update to version from database. This could result
in an endless loop when version did not match so better use auto detection.