passing poolSize option to mongo
fixing insert commit