def update_instance(self, name, settings):
if name not in self.insts:<EOL><INDENT>raise ValueError("<STR_LIT>" % name)<EOL><DEDENT>if '<STR_LIT>' in settings:<EOL><INDENT>raise ValueError(("<STR_LIT>"<EOL>+ "<STR_LIT>") % name)<EOL><DEDENT>self.l.info('<STR_LIT>' % (name))<EOL>for k, v in six.iteritems(settings):<EOL><INDENT>self.change_setting(name, k, v)<EOL><DEDENT>
Updates settings of instance <name> with the
            dictionary <settings>.