Ensure attachment dat is replaced, not updated