updating the core lib