update functions about Line class