getting scrapes updated for DB, adding DB related functions