sk_region_update, sk_region_flag and some minor changes in other sk_region_* commands

#2240 and #2270