Updated code for book-app