removing nonexistent items from DB + updating invalid column
new isvalid column added to db
updating isvalid column if the advert sill exists
standard changes