update getVariables