Added support to call re-index  call in update stats apio
Merge pull request #434 from parthibane/master

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