update spec file and default config