Dash DataTable Callback Input and Output sharing same ID

The sample code I used was taken from: Detecting changed cell in Editable Datatable

As mentioned, the data is coming from MongoDB which is updated at every pushbutton. I wanted the refreshed data from the database rendered back in id=“table-data-diff” from the capture_diffs callback function