auto refreshing while loading