Updates Line class