Improve dependencies update script

Add support for multiple dependencies sub-paths.
Add license file for thirdparty influxdb package