def METHOD_NAME(session_with_data: Session):
    from superset.daos.tag import TagDAO
    from superset.models.dashboard import Dashboard
    from superset.tags.commands.update import UpdateTagCommand
    from superset.tags.models import ObjectTypes, TaggedObject
    dashboard = session_with_data.query(Dashboard).first()
    objects_to_tag = [
        (ObjectTypes.dashboard, dashboard.id),
    ]
    tag_to_update = TagDAO.find_by_name("test_name")
    changed_model = UpdateTagCommand(
        tag_to_update.id,
        {
            "name": "new_name",
            "description": "new_description",
            "objects_to_tag": objects_to_tag,
        },
    ).run()
    updated_tag = TagDAO.find_by_name("new_name")
    assert updated_tag is not None
    assert updated_tag.description == "new_description"
    assert len(session_with_data.query(TaggedObject).all()) == len(objects_to_tag)