def METHOD_NAME(self, dependent_scenario_name, target_sat):
    """After Upgrade, Activation keys entities remain the same and
    all their functionality works.
    :id: postupgrade-a7443b54-eb2e-497b-8a50-92abeae01496
    :steps:
        1. Postupgrade, Verify activation key has same entities associated.
        2. Update existing activation key with new entities.
        3. Delete activation key.
    :expectedresults: Activation key's entities should be same after upgrade and activation
    key update and delete should work.
    """
    pre_test_name = dependent_scenario_name
    org = target_sat.api.Organization().search(query={'search': f'name={pre_test_name}_org'})
    ak = target_sat.api.ActivationKey(organization=org[0]).search(
        query={'search': f'name={pre_test_name}_ak'}
    )
    cv = target_sat.api.ContentView(organization=org[0]).search(
        query={'search': f'name={pre_test_name}_cv'}
    )
    assert f'{pre_test_name}_ak' == ak[0].name
    assert f'{pre_test_name}_cv' == cv[0].name
    ak[0].host_collection.append(target_sat.api.HostCollection().create())
    ak[0].update(['host_collection'])
    assert len(ak[0].host_collection) == 2
    custom_repo2 = target_sat.api.Repository(
        product=target_sat.api.Product(organization=org[0]).create()
    ).create()
    custom_repo2.sync()
    cv2 = target_sat.api.ContentView(organization=org[0], repository=[custom_repo2.id]).create()
    cv2.publish()
    org_subscriptions = target_sat.api.Subscription(organization=org[0]).search()
    for subscription in org_subscriptions:
        provided_products_ids = [prod.id for prod in subscription.read().provided_product]
        if custom_repo2.product.id in provided_products_ids:
            ak[0].add_subscriptions(data={'quantity': 1, 'subscription_id': subscription.id})
    ak_subscriptions = ak[0].product_content()['results']
    assert custom_repo2.product.id in {subscr['product']['id'] for subscr in ak_subscriptions}
    ak[0].delete()
    with pytest.raises(HTTPError):
        target_sat.api.ActivationKey(id=ak[0].id).read()
    for cv_object in [cv2, cv[0]]:
        cv_contents = cv_object.read_json()
        cv_object.delete_from_environment(cv_contents['environments'][0]['id'])
        cv_object.delete(cv_object.organization.id)
    custom_repo2.delete()
    org[0].delete()