Update line numbers.