fixed mongodb examples new methods