Update refresh variable