updated Demo to use MongoDB engine