Update example to show that the library is asynchronous