updated pdiff