updated database config for dev, local and envs