update page refresh method