modify mongo class