Update the accounts table automatically on preferences changes