visibility is updated for every cell