(multi2mono) use local variable in the index of updated tables