lib/transaction: update events