remove unneeded invariant updates above local root