Replacing in one transaction.