Updating cumulative.py