put delete in transaction