update tools/parse.py