update regions and search switch