Update BinaryIndexedTree