Updated DownloadSync method