Added flag :ignore_empty_diff, fixed create_audit_record!