add indices on hash columns