modify book model method