update balances for accounts example