Rewritting update handling of regions to reduce CPU time