Updating with calculations