Update notes for submitted changes

* _trunc_id to check if the session_id is not None