Update pddgi.py