update styles to take in to account imported secondary links from an imprt