setting db settings