making update statement return empty result set when criteria would affect 0 rows