edit query example