def update_commands(self, commands_str):
commands = dict(parse_qsl(commands_str, keep_blank_values=True))<EOL>_if = commands.get("<STR_LIT>", self._if)<EOL>if _if:<EOL><INDENT>self._if = Condition(_if)<EOL><DEDENT>self._set_int(commands, "<STR_LIT:max_length>")<EOL>self._set_int(commands, "<STR_LIT>")<EOL>self.color = self._check_color(commands.get("<STR_LIT>"))<EOL>self.not_zero = "<STR_LIT>" in commands or self.not_zero<EOL>self.show = "<STR_LIT>" in commands or self.show<EOL>self.soft = "<STR_LIT>" in commands or self.soft<EOL>
update with commands from the block