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
Merge pull request #336 from pmarflee/master

Don't run update if new values equal original