update the books