updating colors for diffs