update config to support different environments