small updates to the example/client.py