update links so things link up properly