Update readme code example

Might be good to create a v2.3.0 tag as well