modify links mode