Update calculate