Transactions for update/delete with locking