update style setting