Update settings module to load settings from db