Ok, one thing I'm going to try today is this; essentially I'm going to say, "forget that for-loop, just let it update the dataProvider". What I'm going to do is write another function that runs each row of the dp through a filterFunction and checks to see if it is there or not, if it is there, then update the editable values, if not, then insert a new row. Since this would be invoked after the dataProvider update, I may just save it until the user closes the window in any way and then run this as a save and quit function. It would also help to be able to have it available in a button.
If anyone has a better idea on how to do this, don't hesitate to tell me.

