update readme

for new API. If you think of a better example feel free to change it haha.