update query filter