add transaction on delete method