update state of this document section