updating pointers to submodules