updated to version 1.7 of mongo driver