delete function working in editable table