Updated the getting of accounts.