modify the links