Updating database config with environment variables