bug fix on updating a book