setting territory regions in editor