change refresh to global scope