update book model