saving the crawled dates to the database
changed database script