Update notes for submitted changes

* Consolidate code of two functions