updating line data