updated to use fixed mongodb-erlang