set the db settings