Return number of updated rows