change how submodule is updated for #5656

modified dev-helper to update submodules without switching branches.