Update short example to use synchronous interface