Only update env with new line numbers