Update Diff calculation