save and filter diffs