modify static_document