update style of links