updating setting db