all depends on what amount of data each type holds plus the more types it has to go through the slower it will become.
Add a check before you update each type so only the ones which pass the checks will get updated ie a simple example would be only update the types which have an id=1 etc.
Add a check before you update each type so only the ones which pass the checks will get updated ie a simple example would be only update the types which have an id=1 etc.