Updating External Id of Profile

Hi,

Has anybody used wm.tn.profile:updateids for updating the external id for the existing profile. This service just take ID object as the input. I tried to create an ID object and set the key and external id values using the provided methods but it gives me error.

Is there any other method somebody is aware of to update the external id.

Thanks,
Pankaj