Update Line to handle multiple lines