Update line when performing incremental search