Update pointer example