update version of database