update textarea on custon link command; little refactoring