textract_update_adapter function

Update the configuration for an adapter