fix vendor version
define the database