Updating databases to work with querier