Upgrade Scala libraries to the latest versions