update submodules and make a script to do the same