Fix redirect bug in link update action