Update notes for submitted changes

* Use len instead of for-loop to get the end index