update submodules versions

[skip ci]
fix variables scope warning