updating line width