Improve third party update.sh script

Add support for optional third party sub-package retrieval.