update Math exercise