Add function to update stars for a book