DOC: updated cookbook.rst