fixed download script to update git dependencies