update python program