Editing more than 10000 objects in a single execution

I found a solution for this. I used ObjectSet input for my function(before it was List of Objects). With this I am able to edit more than 10000 objects(worked on 80000 objects)