README: fix examples to adhere to current API