add index for all models