Update notes for submitted changes

* Pass and use the environment in validate_template