Update config and add base controller