Updates line and background text location