Update notes for submitted changes

* get SQL refs from session (bp sql-query-get)