Update README examples for API changes