Update peak.py