updating data_*lim in lines()