Update 2d - binary indexed tree.cpp