There are few methods for doing that. I have used message handler to write back to the data property of the table after the change has been made.
Ryan has suggested writing to the database directly when you make the change if the data is coming from database.
Try whatever works for you.