update legend colors