add query editor