Filled in update_balance.