update book model and view