update README

Update same code using new API