update readme with promises example.