updated mongo driver dependency to 1.9
use non-deprecated mongo client API