update style and data$