Changing the database table with editable dash datatable functionality

The if statement is used to know which trigger fired. It can be simplified now.

FYI

The first block is to find the modified row, and the second is to submit it to the database.