changed to use latest version of mgo and bson