update areacheck code