Check for the existance of the pages book before updating the books, thu...

...mbnail,

as pages may be ingested before the book.