Move config to a model and start fixing admin updating