altered the scraper to update existing records as well as add new