Updating scan_database.db file.