Update submodule and use lambdas in more places.