mergeChanges