Modify db for settings