Update summarize.py