Updated to allow for line data updates without reallocation.