Update document configuration.