refresh query editor