index: update sample formula.