Added functions to enable and disable a mongo document