autorefresh and bg processing