updating core ref