update config for production mode