making cells refresh when cells are updated