added design_document to state recording