Upgrading core libraries to latest versions