Update notes for submitted changes

* Factorize agent code