1.move gen bookmark function from update_db.py to gen_bookmark.py 2.change the upgrade db way, first download course info to tmp file, then replace orign file if needed