Update or delete a price formula in the matrix