update_accounts_for_commodities