add change link functionality and move link removal to separate command