Update config, and define base