update for different environments