update expand region for html