first draft of getNewVersionNumber and downloadDatabaseVersion