flagged ProcessDiff as deprecated we want to use api for that