add index to all models