modificarlos
Modificarlos is the infinitive form of the verb modificar with the direct object pronoun los attached, meaning to modify them. It is a transitive infinitive and can also function as a noun (verbo sustantivado), referring to the act of modifying them. For example, in a sentence like Modificarlos es necesario para adaptar el sistema, the phrase serves as the subject.
In use, modificarlos appears with various auxiliary constructions and can refer to masculine or mixed gender
The pronoun agrees with the gender and number of the direct object: los for masculine plural, las
Notes on style: in Spanish, the attached pronoun often clarifies the object without repeating it, but for