Update line graph