mutate to modify links