update all the links