add gen bookmark function, run 'python update_db.py -b -f linux' for test