update style.