finish add row and delete row