Update line count, headers