update line

draw line and popup for line