added a mergeInto() function that can be used to update the data from a newly generated copy of the data