def betting_market_group_update(<EOL>self,<EOL>betting_market_group_id,<EOL>description=None,<EOL>event_id=None,<EOL>rules_id=None,<EOL>status=None,<EOL>account=None,<EOL>**kwargs<EOL>):
if not account:<EOL><INDENT>if "<STR_LIT>" in self.config:<EOL><INDENT>account = self.config["<STR_LIT>"]<EOL><DEDENT><DEDENT>if not account:<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT>account = Account(account, blockchain_instance=self)<EOL>bmg = BettingMarketGroup(betting_market_group_id)<EOL>if bmg["<STR_LIT:status>"] == status:<EOL><INDENT>status = None<EOL><DEDENT>op_data = {<EOL>"<STR_LIT>": {"<STR_LIT>": <NUM_LIT:0>, "<STR_LIT>": "<STR_LIT>"},<EOL>"<STR_LIT>": bmg["<STR_LIT:id>"],<EOL>"<STR_LIT>": self.prefix,<EOL>}<EOL>if event_id:<EOL><INDENT>if event_id[<NUM_LIT:0>] == "<STR_LIT:1>":<EOL><INDENT>Event(event_id)<EOL><DEDENT>else:<EOL><INDENT>test_proposal_in_buffer(<EOL>kwargs.get("<STR_LIT>", self.propbuffer), "<STR_LIT>", event_id<EOL>)<EOL><DEDENT>op_data.update({"<STR_LIT>": event_id})<EOL><DEDENT>if rules_id:<EOL><INDENT>if rules_id[<NUM_LIT:0>] == "<STR_LIT:1>":<EOL><INDENT>Rule(rules_id)<EOL><DEDENT>else:<EOL><INDENT>test_proposal_in_buffer(<EOL>kwargs.get("<STR_LIT>", self.propbuffer),<EOL>"<STR_LIT>",<EOL>rules_id,<EOL>)<EOL><DEDENT>op_data.update({"<STR_LIT>": rules_id})<EOL><DEDENT>if description:<EOL><INDENT>op_data.update({"<STR_LIT>": description})<EOL><DEDENT>if status:<EOL><INDENT>op_data.update({"<STR_LIT:status>": status})<EOL><DEDENT>op = operations.Betting_market_group_update(**op_data)<EOL>return self.finalizeOp(op, account["<STR_LIT:name>"], "<STR_LIT>", **kwargs)<EOL>
Update an betting market. This needs to be **proposed**.

            :param str betting_market_group_id: Id of the betting market group
                to update
            :param list description: Internationalized list of descriptions
            :param str event_id: Event ID to create this for
            :param str rule_id: Rule ID to create this with
            :param str status: New Status
            :param str account: (optional) the account to allow access
                to (defaults to ``default_account``)