update with lines