update for invert style