Update SQL and API for E&A accounts.