def update_description(self, description):
desc_node = self.metadata.find('<STR_LIT:description>')<EOL>if desc_node is None:<EOL><INDENT>log.debug('<STR_LIT>'.format(str(self.iocid)))<EOL>log.debug('<STR_LIT>')<EOL>desc_node = ioc_et.make_description_node(description)<EOL>insert_index = <NUM_LIT:0><EOL>for child in self.metadata.getchildren():<EOL><INDENT>if child.tag == '<STR_LIT>':<EOL><INDENT>index = self.metadata.index(child)<EOL>insert_index = index + <NUM_LIT:1><EOL>break<EOL><DEDENT><DEDENT>self.metadata.insert(insert_index, desc_node)<EOL><DEDENT>else:<EOL><INDENT>desc_node.text = description<EOL><DEDENT>return True<EOL>
Update the description) of an IOC

This creates the description node if it is not present.
:param description: Value to set the description too
:return: True