update_account_selector after creating/deleting account
code cleanup