Fix function name for updating lines