db upd, new algebra formulas