Change method to actually save the popularity of the book