updating core lib