Reflect mongoose changes in config.json in library