update diff config