Change line type