Edit media query