Implement update method in MongoDbStorage