Update puppet.py