Update lib/settings.js