def notify_update(self, update, urgent=False):
if not isinstance(update, list):<EOL><INDENT>update = [update]<EOL><DEDENT>self.update_queue.extend(update)<EOL>containers = self.config["<STR_LIT>"]["<STR_LIT>"]<EOL>containers_to_update = set()<EOL>for item in update:<EOL><INDENT>if item in containers:<EOL><INDENT>containers_to_update.update(set(containers[item]))<EOL><DEDENT><DEDENT>for container in containers_to_update:<EOL><INDENT>container_module = self.output_modules.get(container)<EOL>if container_module:<EOL><INDENT>if urgent and container_module.get("<STR_LIT>"):<EOL><INDENT>container_module["<STR_LIT>"](update)<EOL><DEDENT>if container_module.get("<STR_LIT>"):<EOL><INDENT>if set(update) & container_module["<STR_LIT>"]():<EOL><INDENT>container_module["<STR_LIT>"].force_update()<EOL><DEDENT><DEDENT>else:<EOL><INDENT>container_module["<STR_LIT>"].force_update()<EOL><DEDENT><DEDENT><DEDENT>if self.update_queue:<EOL><INDENT>self.update_request.set()<EOL><DEDENT>
Name or list of names of modules that have updated.