Update cookbook.rst

I updated the cookbook to add my changes to the docs.