Update notes for submitted changes

* Extract debian version calculation into a function