Update Calculator code