rather than merging the old data in before passing to transform, figure out how to pass in both the new and old data as separate params