added editable functionality for cells