update showdiff to include reason