update style and settings