revised refreshing of iframe