<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_api_key(self, api_key_id, **kwargs):
 """Update API key. :param str api_key_id: The ID of the API key to be updated (Required) :param str name: The name of the API key :param str owner: User ID owning the API key :param str status: The status of the API key. Values: ACTIVE, INACTIVE :returns: Newly created API key object :rtype: ApiKey """

        api = self._get_api(iam.DeveloperApi)
        apikey = ApiKey._create_request_map(kwargs)
        body = iam.ApiKeyUpdateReq(**apikey)
        return ApiKey(api.update_api_key(api_key_id, body))