Upgrade Scala and libraries