update model for book