Updated example code.

Updated it to reflect the release of the library.