modifying all link between pages