change the way of refresh view