make more document settings transaction based