update for different styles