moved .h file ThreadedIndexUpdate to help with raspPi build