add db info to local settings