updated readme example for async