Change bulkUpdate to return the affected rows
Merge branch 'fix-bulk-operations-result'