updated mongodb recipe