update arff writer for new queries