autorefresh and layers