Write document and fix in POST lists/update