update config.cmake from new template