update query style.