U better move this to the commitChanges method for better semantics.