flatten config updates before usage. fixes #48