update to python examples