Updated settings to new DB API.