Update dabases config