add transaction on static delete method