update Calc logic