Update README

Completely update the code example, and update the explanation of
render, since its arguments have changed.