def event_group_update(<EOL>self, event_group_id, names=[], sport_id="<STR_LIT>", account=None, **kwargs<EOL>):
assert isinstance(names, list)<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>if sport_id[<NUM_LIT:0>] == "<STR_LIT:1>":<EOL><INDENT>Sport(sport_id)<EOL><DEDENT>else:<EOL><INDENT>test_proposal_in_buffer(<EOL>kwargs.get("<STR_LIT>", self.propbuffer), "<STR_LIT>", sport_id<EOL>)<EOL><DEDENT>account = Account(account)<EOL>event_group = EventGroup(event_group_id)<EOL>op = operations.Event_group_update(<EOL>**{<EOL>"<STR_LIT>": {"<STR_LIT>": <NUM_LIT:0>, "<STR_LIT>": "<STR_LIT>"},<EOL>"<STR_LIT>": event_group["<STR_LIT:id>"],<EOL>"<STR_LIT>": names,<EOL>"<STR_LIT>": sport_id,<EOL>"<STR_LIT>": self.prefix,<EOL>}<EOL>)<EOL>return self.finalizeOp(op, account["<STR_LIT:name>"], "<STR_LIT>", **kwargs)<EOL>
Update an event group. This needs to be **proposed**.

            :param str event_id: Id of the event group to update
            :param list names: Internationalized names, e.g. ``[['de', 'Foo'],
                ['en', 'bar']]``
            :param str sport_id: Sport ID to create the event group for
                (defaults to *relative* id ``0.0.0``)
            :param str account: (optional) the account to allow access
                to (defaults to ``default_account``)