update style and charts