update README demo for sync/async interface