update line color