update for rainbow-0.4.0.0