Editing documentation using plugin

Hi,
Is it possible to edit documentation of an element in a plugin? Properties like name or id can be modified using modeling.updateProperties, however it’s not gonna work for documentation since it’s in another xml tag.