Update notes for submitted changes

* Fix scope and naming of some variables