update line styling