Update addLineToList