Added support to call re-index  call in update stats api