added autorefresh
added auto refresh