create_audit_record! now accepts a block to modify the new audit record