update styles and links