Update to latest lib.
Fix example to work with new function.