update diff.