Changing the Calculated Mask

We have approximately 45,000 eB Document Templates across 8 production eB communities. Our company's document naming convention is changing which means the calculated mask in all templates needs to be changed to support the new naming standard. Is there a way that the calculated mask can be updated in bulk rather than each template having to unapproved, the mask altered and then reapproved?