update mongodb cookbook