update style panel