updating line style