updated query log