correct non-promise example

@tofumatt r?

I removed the broken example and corrected the example where it does work.