use updated mongodb cookbook