Update line numbers