update download method