Update to the py examples for consistency with the topics update.