Math: update function part