Update line.py