add refreshLayout method