[CLEANUP] Cleanup of method updateRefIndexTable