added basic refreshing on view appear