Update setVariables