Don't run update if new values equal original

Don't run update if new values equal original, and return zero for the
number of rows changed