Update PiObjects.py