Update analyze.py