def METHOD_NAME(self, request, dependent_scenario_name, target_sat):
    """After upgrade, Sync interval update should work on existing sync plan(created before
    upgrade)
    :id: postupgrade-badaeec2-d42f-41d5-bd85-4b23d6d5a724
    :steps:
        1. Verify sync plan exists and works as earlier
        2. Check the all available sync_interval type update with pre-created sync_plan
    :expectedresults: After upgrade, the sync plan should remain the same with their all
    target_sat.api and sync_interval updated with their all supported sync interval type.
    """
    pre_test_name = dependent_scenario_name
    org = target_sat.api.Organization().search(query={'search': f'name="{pre_test_name}_org"'})[
        0
    ]
    request.addfinalizer(org.delete)
    product = target_sat.api.Product(organization=org.id).search(
        query={'search': f'name="{pre_test_name}_prod"'}
    )[0]
    request.addfinalizer(product.delete)
    sync_plan = target_sat.api.SyncPlan(organization=org.id).search(
        query={'search': f'name="{pre_test_name}_syncplan"'}
    )[0]
    request.addfinalizer(sync_plan.delete)
    assert product.sync_plan.id == sync_plan.id
    assert sync_plan.name == f'{pre_test_name}_syncplan'
    assert sync_plan.interval == 'hourly'
    for sync_interval in SYNC_INTERVAL:
        if sync_interval == "custom":
            sync_plan.interval = SYNC_INTERVAL['custom']
            sync_plan.cron_expression = gen_choice(valid_cron_expressions())
            sync_plan.update(['interval', 'cron_expression'])
        else:
            sync_plan.interval = SYNC_INTERVAL[sync_interval]
            sync_plan.update(['interval'])
        sync_plan = sync_plan.read()
        assert sync_plan.interval == SYNC_INTERVAL[sync_interval]