add diffs from patches