update submodules without detached HEAD