We'll have to add the if somewhere as there is only one `ContentAPI.updateMetadata` method.
I'd prefer to keep it in the event as the updateMetadata can then be a generic API method.