doc update

added some options. callback.pause and callback.resume in example.