def METHOD_NAME(self, index):
    # delete the old page if it exists
    try:
        education_page = MarkdownPage.objects.get(slug=EDUCATION_PAGE_SLUG)
        education_page.delete()
    except:
        try:
            education_page = EducationPage.objects.get(slug=EDUCATION_PAGE_SLUG)
            education_page.delete()
        except:
            pass
    # create new page
    education_page = EducationPage(slug=EDUCATION_PAGE_SLUG)
    try:
        education_page.breadcrumbs.all().delete()
    except:
        pass
    education_page.add_breadcrumbs(((EDUCATION_PAGE_TITLE, ""),))
    education_page.title = EDUCATION_PAGE_TITLE
    education_page.heading = EDUCATION_PAGE_HEADING
    education_page.summary = EDUCATION_PAGE_DESCRIPTION
    count = 0
    for tut in index:
        education_page.add_card(
            image_path=tut["thumbnail"],
            title=tut["title"],
            summary=tut["description"],
            tags=tut["tags"],
            url=tut["slug"] if not tut["external"] else tut["link"],
            sort_order=count,
        )
        count += 1
    home_page = Page.objects.get(slug="home")
    if not education_page.is_child_of(home_page):
        logger.debug(education_page.is_child_of(home_page))
        home_page.add_child(instance=education_page)
    education_page.save()
    return education_page