modify the account API