update _config and index for activate