update submodules from master branch. fix detached head in submodules