update line_samples