update calculator form