updated editing of cells