Fix Update and Delete returning value

StorageEngine.Update and Delete should return the number of rows changed from the operation instead of the last inserted row id.