small fix in reference doc, the example for process_notes was incorrect

The example is now self-contained.