adding polymorphic indexes