fixes #522; more specific error thrown when no rows are updated
Merge pull request #537 from mgartner/522-more-specific-update-error

fixes #522; more specific error thrown when no rows are updated