fixed remove links
added update for drawing links