change db settings to new db
added bunch of stuff