Update notes for submitted changes

* Split huge function that updates records