updated version, exported mongoose