Updating dependencies and removing unnecessary submodules.