update_formula_add function

Create new offset-term and new formula