Update MongoDb  server side example