adding doctrine  mongodb update to update indexes