made mongoose version work
more updates to mongoose version