Stream query edit