added updateTransactions and related stuff