update line colours