update database for settings