update config for minify