Update download.cpp