update variance def