Updated the strategy to return number of rows affected