update a collection MongoDb