small config changes for mongoose