updating style and links