new upgrade-database (formely known as version-check) and new startup procedure