update the links