updating core seo function