added autorefresh on post