db versioning check update