update gen download
upload method