updated to reflect latest changes in lmongo