update link only if no action is given, leave as is otherwise