Adding mongo pstore and updating mongo table class