@group.command()<EOL>@click.option('<STR_LIT>', type=str,<EOL>help='<STR_LIT>')<EOL>@click.option('<STR_LIT>', type=str, help='<STR_LIT>')<EOL>@click.option('<STR_LIT>', type=str, help='<STR_LIT>')<EOL>@click.pass_context<EOL>@clean_outputs<EOL>def update(ctx, name, description, tags):
user, project_name, _group = get_project_group_or_local(ctx.obj.get('<STR_LIT>'),<EOL>ctx.obj.get('<STR_LIT>'))<EOL>update_dict = {}<EOL>if name:<EOL><INDENT>update_dict['<STR_LIT:name>'] = name<EOL><DEDENT>if description:<EOL><INDENT>update_dict['<STR_LIT:description>'] = description<EOL><DEDENT>tags = validate_tags(tags)<EOL>if tags:<EOL><INDENT>update_dict['<STR_LIT>'] = tags<EOL><DEDENT>if not update_dict:<EOL><INDENT>Printer.print_warning('<STR_LIT>')<EOL>sys.exit(<NUM_LIT:0>)<EOL><DEDENT>try:<EOL><INDENT>response = PolyaxonClient().experiment_group.update_experiment_group(<EOL>user, project_name, _group, update_dict)<EOL><DEDENT>except (PolyaxonHTTPError, PolyaxonShouldExitError, PolyaxonClientException) as e:<EOL><INDENT>Printer.print_error('<STR_LIT>'.format(_group))<EOL>Printer.print_error('<STR_LIT>'.format(e))<EOL>sys.exit(<NUM_LIT:1>)<EOL><DEDENT>Printer.print_success("<STR_LIT>")<EOL>get_group_details(response)<EOL>
Update experiment group.

    Uses [Caching](/references/polyaxon-cli/#caching)

    Example:

    \b
    ```bash
    $ polyaxon group -g 2 update --description="new description for this group"
    ```

    \b
    ```bash
    $ polyaxon update --tags="foo, bar"
    ```