Updates submodules HEADs.