update ruby repeat color