Update README.md

changed examples to utilize generic methods