update to all queries