update difference