total formula update