update one of the test programs (VarIndex)