Add Fenwick tree supported update(at, val), query(from, to) for noncomutative not invertible (or comutative but without update() operation) functions.