update part color/border