update style and header