improved refreshing of cells