Update notes for submitted changes

* Place update_state methods out of db session