Update notes for submitted changes

* middleware: code cleanup