download_update() gets a return value from file_put_contents() call