updated settings with database access