add steps to refresh cache after finish loading data