update book structure