Updated the basic client example