fix promise example in readme