exec_update returns number of affected rows