update diff