update Calculate