add medie query