added index on npi to entities table