add download.py file & fix the update bug