updating dbs