Methods to set a pointer to the var to be updated.