updates saving region functionality