add change link functionality and move link removal to separate command

* [x] separate link removal to new command
* [x] adding link on a selection containing links should change attributes of these links not remove link
* [x] update examples
* [x] write tests