updated ipad query