Updated the update_submodules script to properly initialize submodules.