changed updateBookInfo query so that it checks if the bookinfo already exists (matching asin) this prevents a lot of duplicates