change color of links and nodes