Update row method to operate on row index rather than cell index