added local config, updated database