Update calculatorusingfunctions