update colors, branch checking