added multiple link delete function