update styles of links