update config.example.js to latest format