I am looking for the command to change the data in a written book that is  ̶d̶r̶o̶p̶p̶e̶d̶ ̶o̶n̶ ̶t̶h̶e̶ ̶g̶r̶o̶u̶n̶d̶  in a chest, changing what is written on the page/s. I am trying to build a randomizer that will change a single-digit entry on each page, giving you a book with a random set of characters each time it is summoned. Any help would be greatly appreciated.

Edit.

-Current target/command that is working
/data modify block -183 64 201 Items[0].tag merge value {pages:['{"text":"1"}','{"text":"7"}','{"text":"1"}']}

What I still need is a way to only edit the data on a single page without changing the data on any of the other pages.