replace deleted metadata db connection with actual metadata db connectio...

...n