updating configuration to include enabled flag and dsn