<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def update_external_account(resource_root, account):
 """ Update an external account @param resource_root: The root Resource object. @param account: Account to update, account name must be specified. @return: An ApiExternalAccount object, representing the updated external account """

  return call(resource_root.put,
      EXTERNAL_ACCOUNT_PATH % ("update",),
      ApiExternalAccount, False, data=account)