updates all links