add redact feature for writers