Updating lines graph