Upgrade pdf-core dependency