update
method.update
call, adjust the BIT to reflect the change in value at the specified cell.sumRegion
call, calculate the sum of the specified rectangle by querying the BIT for the cumulative sum from the origin to the lower right corner and subtracting the cumulative sums that overlap outside the rectangle.